package o;

import android.content.Context;
import androidx.annotation.NonNull;
import com.huawei.appgallery.foundation.card.base.bean.BaseDistCardBean;
import com.huawei.appgallery.foundation.ui.framework.cardframe.bean.BaseCardBean;
import o.ewm.n;

public class dpe implements dwy {
    public void ॱ(Context context, String str, int i) {
        eny.ˊ().ˋ(context, str, i);
    }

    public void ˋ(Context context, BaseDistCardBean baseDistCardBean) {
        if ((baseDistCardBean.ˌ() & 2) != 0) {
            Logger.ˎ("WiseDistActivityDispatch", "can not launch no apk app, because button status is disabled");
        } else {
            new ebt(context, baseDistCardBean).ˊ();
        }
    }

    public void ˏ(@NonNull Context context, @NonNull BaseCardBean baseCardBean) {
        if (doo.ˊ(context)) {
            new ead(context, baseCardBean).ॱ(context);
            return;
        }
        Logger.ˎ("WiseDistActivityDispatch", "no network to show app detail.");
        evk.ˏ(context, n.ʹˊ, 0).ˋ();
    }
}
